package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EmployeeInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EmployeeInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andCompidIsNull() {
            addCriterion("CompID is null");
            return (Criteria) this;
        }

        public Criteria andCompidIsNotNull() {
            addCriterion("CompID is not null");
            return (Criteria) this;
        }

        public Criteria andCompidEqualTo(Integer value) {
            addCriterion("CompID =", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotEqualTo(Integer value) {
            addCriterion("CompID <>", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThan(Integer value) {
            addCriterion("CompID >", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CompID >=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThan(Integer value) {
            addCriterion("CompID <", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThanOrEqualTo(Integer value) {
            addCriterion("CompID <=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidIn(List<Integer> values) {
            addCriterion("CompID in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotIn(List<Integer> values) {
            addCriterion("CompID not in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidBetween(Integer value1, Integer value2) {
            addCriterion("CompID between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotBetween(Integer value1, Integer value2) {
            addCriterion("CompID not between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andDepidIsNull() {
            addCriterion("DepID is null");
            return (Criteria) this;
        }

        public Criteria andDepidIsNotNull() {
            addCriterion("DepID is not null");
            return (Criteria) this;
        }

        public Criteria andDepidEqualTo(Integer value) {
            addCriterion("DepID =", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotEqualTo(Integer value) {
            addCriterion("DepID <>", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidGreaterThan(Integer value) {
            addCriterion("DepID >", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidGreaterThanOrEqualTo(Integer value) {
            addCriterion("DepID >=", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidLessThan(Integer value) {
            addCriterion("DepID <", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidLessThanOrEqualTo(Integer value) {
            addCriterion("DepID <=", value, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidIn(List<Integer> values) {
            addCriterion("DepID in", values, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotIn(List<Integer> values) {
            addCriterion("DepID not in", values, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidBetween(Integer value1, Integer value2) {
            addCriterion("DepID between", value1, value2, "depid");
            return (Criteria) this;
        }

        public Criteria andDepidNotBetween(Integer value1, Integer value2) {
            addCriterion("DepID not between", value1, value2, "depid");
            return (Criteria) this;
        }

        public Criteria andEmnameIsNull() {
            addCriterion("EmName is null");
            return (Criteria) this;
        }

        public Criteria andEmnameIsNotNull() {
            addCriterion("EmName is not null");
            return (Criteria) this;
        }

        public Criteria andEmnameEqualTo(String value) {
            addCriterion("EmName =", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameNotEqualTo(String value) {
            addCriterion("EmName <>", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameGreaterThan(String value) {
            addCriterion("EmName >", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameGreaterThanOrEqualTo(String value) {
            addCriterion("EmName >=", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameLessThan(String value) {
            addCriterion("EmName <", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameLessThanOrEqualTo(String value) {
            addCriterion("EmName <=", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameLike(String value) {
            addCriterion("EmName like", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameNotLike(String value) {
            addCriterion("EmName not like", value, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameIn(List<String> values) {
            addCriterion("EmName in", values, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameNotIn(List<String> values) {
            addCriterion("EmName not in", values, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameBetween(String value1, String value2) {
            addCriterion("EmName between", value1, value2, "emname");
            return (Criteria) this;
        }

        public Criteria andEmnameNotBetween(String value1, String value2) {
            addCriterion("EmName not between", value1, value2, "emname");
            return (Criteria) this;
        }

        public Criteria andEmplpositionIsNull() {
            addCriterion("EmplPosition is null");
            return (Criteria) this;
        }

        public Criteria andEmplpositionIsNotNull() {
            addCriterion("EmplPosition is not null");
            return (Criteria) this;
        }

        public Criteria andEmplpositionEqualTo(String value) {
            addCriterion("EmplPosition =", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionNotEqualTo(String value) {
            addCriterion("EmplPosition <>", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionGreaterThan(String value) {
            addCriterion("EmplPosition >", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionGreaterThanOrEqualTo(String value) {
            addCriterion("EmplPosition >=", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionLessThan(String value) {
            addCriterion("EmplPosition <", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionLessThanOrEqualTo(String value) {
            addCriterion("EmplPosition <=", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionLike(String value) {
            addCriterion("EmplPosition like", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionNotLike(String value) {
            addCriterion("EmplPosition not like", value, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionIn(List<String> values) {
            addCriterion("EmplPosition in", values, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionNotIn(List<String> values) {
            addCriterion("EmplPosition not in", values, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionBetween(String value1, String value2) {
            addCriterion("EmplPosition between", value1, value2, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplpositionNotBetween(String value1, String value2) {
            addCriterion("EmplPosition not between", value1, value2, "emplposition");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayIsNull() {
            addCriterion("EmplBirthday is null");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayIsNotNull() {
            addCriterion("EmplBirthday is not null");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayEqualTo(Date value) {
            addCriterion("EmplBirthday =", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayNotEqualTo(Date value) {
            addCriterion("EmplBirthday <>", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayGreaterThan(Date value) {
            addCriterion("EmplBirthday >", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("EmplBirthday >=", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayLessThan(Date value) {
            addCriterion("EmplBirthday <", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayLessThanOrEqualTo(Date value) {
            addCriterion("EmplBirthday <=", value, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayIn(List<Date> values) {
            addCriterion("EmplBirthday in", values, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayNotIn(List<Date> values) {
            addCriterion("EmplBirthday not in", values, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayBetween(Date value1, Date value2) {
            addCriterion("EmplBirthday between", value1, value2, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplbirthdayNotBetween(Date value1, Date value2) {
            addCriterion("EmplBirthday not between", value1, value2, "emplbirthday");
            return (Criteria) this;
        }

        public Criteria andEmplsexIsNull() {
            addCriterion("EmplSex is null");
            return (Criteria) this;
        }

        public Criteria andEmplsexIsNotNull() {
            addCriterion("EmplSex is not null");
            return (Criteria) this;
        }

        public Criteria andEmplsexEqualTo(String value) {
            addCriterion("EmplSex =", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexNotEqualTo(String value) {
            addCriterion("EmplSex <>", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexGreaterThan(String value) {
            addCriterion("EmplSex >", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexGreaterThanOrEqualTo(String value) {
            addCriterion("EmplSex >=", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexLessThan(String value) {
            addCriterion("EmplSex <", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexLessThanOrEqualTo(String value) {
            addCriterion("EmplSex <=", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexLike(String value) {
            addCriterion("EmplSex like", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexNotLike(String value) {
            addCriterion("EmplSex not like", value, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexIn(List<String> values) {
            addCriterion("EmplSex in", values, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexNotIn(List<String> values) {
            addCriterion("EmplSex not in", values, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexBetween(String value1, String value2) {
            addCriterion("EmplSex between", value1, value2, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplsexNotBetween(String value1, String value2) {
            addCriterion("EmplSex not between", value1, value2, "emplsex");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrIsNull() {
            addCriterion("EmplRegAddr is null");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrIsNotNull() {
            addCriterion("EmplRegAddr is not null");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrEqualTo(String value) {
            addCriterion("EmplRegAddr =", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrNotEqualTo(String value) {
            addCriterion("EmplRegAddr <>", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrGreaterThan(String value) {
            addCriterion("EmplRegAddr >", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrGreaterThanOrEqualTo(String value) {
            addCriterion("EmplRegAddr >=", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrLessThan(String value) {
            addCriterion("EmplRegAddr <", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrLessThanOrEqualTo(String value) {
            addCriterion("EmplRegAddr <=", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrLike(String value) {
            addCriterion("EmplRegAddr like", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrNotLike(String value) {
            addCriterion("EmplRegAddr not like", value, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrIn(List<String> values) {
            addCriterion("EmplRegAddr in", values, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrNotIn(List<String> values) {
            addCriterion("EmplRegAddr not in", values, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrBetween(String value1, String value2) {
            addCriterion("EmplRegAddr between", value1, value2, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplregaddrNotBetween(String value1, String value2) {
            addCriterion("EmplRegAddr not between", value1, value2, "emplregaddr");
            return (Criteria) this;
        }

        public Criteria andEmplphoneIsNull() {
            addCriterion("EmplPhone is null");
            return (Criteria) this;
        }

        public Criteria andEmplphoneIsNotNull() {
            addCriterion("EmplPhone is not null");
            return (Criteria) this;
        }

        public Criteria andEmplphoneEqualTo(String value) {
            addCriterion("EmplPhone =", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneNotEqualTo(String value) {
            addCriterion("EmplPhone <>", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneGreaterThan(String value) {
            addCriterion("EmplPhone >", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneGreaterThanOrEqualTo(String value) {
            addCriterion("EmplPhone >=", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneLessThan(String value) {
            addCriterion("EmplPhone <", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneLessThanOrEqualTo(String value) {
            addCriterion("EmplPhone <=", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneLike(String value) {
            addCriterion("EmplPhone like", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneNotLike(String value) {
            addCriterion("EmplPhone not like", value, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneIn(List<String> values) {
            addCriterion("EmplPhone in", values, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneNotIn(List<String> values) {
            addCriterion("EmplPhone not in", values, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneBetween(String value1, String value2) {
            addCriterion("EmplPhone between", value1, value2, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplphoneNotBetween(String value1, String value2) {
            addCriterion("EmplPhone not between", value1, value2, "emplphone");
            return (Criteria) this;
        }

        public Criteria andEmplworkidIsNull() {
            addCriterion("EmplWorkID is null");
            return (Criteria) this;
        }

        public Criteria andEmplworkidIsNotNull() {
            addCriterion("EmplWorkID is not null");
            return (Criteria) this;
        }

        public Criteria andEmplworkidEqualTo(String value) {
            addCriterion("EmplWorkID =", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidNotEqualTo(String value) {
            addCriterion("EmplWorkID <>", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidGreaterThan(String value) {
            addCriterion("EmplWorkID >", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidGreaterThanOrEqualTo(String value) {
            addCriterion("EmplWorkID >=", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidLessThan(String value) {
            addCriterion("EmplWorkID <", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidLessThanOrEqualTo(String value) {
            addCriterion("EmplWorkID <=", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidLike(String value) {
            addCriterion("EmplWorkID like", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidNotLike(String value) {
            addCriterion("EmplWorkID not like", value, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidIn(List<String> values) {
            addCriterion("EmplWorkID in", values, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidNotIn(List<String> values) {
            addCriterion("EmplWorkID not in", values, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidBetween(String value1, String value2) {
            addCriterion("EmplWorkID between", value1, value2, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplworkidNotBetween(String value1, String value2) {
            addCriterion("EmplWorkID not between", value1, value2, "emplworkid");
            return (Criteria) this;
        }

        public Criteria andEmplcodeIsNull() {
            addCriterion("EmplCode is null");
            return (Criteria) this;
        }

        public Criteria andEmplcodeIsNotNull() {
            addCriterion("EmplCode is not null");
            return (Criteria) this;
        }

        public Criteria andEmplcodeEqualTo(String value) {
            addCriterion("EmplCode =", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeNotEqualTo(String value) {
            addCriterion("EmplCode <>", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeGreaterThan(String value) {
            addCriterion("EmplCode >", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeGreaterThanOrEqualTo(String value) {
            addCriterion("EmplCode >=", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeLessThan(String value) {
            addCriterion("EmplCode <", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeLessThanOrEqualTo(String value) {
            addCriterion("EmplCode <=", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeLike(String value) {
            addCriterion("EmplCode like", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeNotLike(String value) {
            addCriterion("EmplCode not like", value, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeIn(List<String> values) {
            addCriterion("EmplCode in", values, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeNotIn(List<String> values) {
            addCriterion("EmplCode not in", values, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeBetween(String value1, String value2) {
            addCriterion("EmplCode between", value1, value2, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplcodeNotBetween(String value1, String value2) {
            addCriterion("EmplCode not between", value1, value2, "emplcode");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeIsNull() {
            addCriterion("EmplWorkTime is null");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeIsNotNull() {
            addCriterion("EmplWorkTime is not null");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeEqualTo(Date value) {
            addCriterion("EmplWorkTime =", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeNotEqualTo(Date value) {
            addCriterion("EmplWorkTime <>", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeGreaterThan(Date value) {
            addCriterion("EmplWorkTime >", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EmplWorkTime >=", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeLessThan(Date value) {
            addCriterion("EmplWorkTime <", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeLessThanOrEqualTo(Date value) {
            addCriterion("EmplWorkTime <=", value, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeIn(List<Date> values) {
            addCriterion("EmplWorkTime in", values, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeNotIn(List<Date> values) {
            addCriterion("EmplWorkTime not in", values, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeBetween(Date value1, Date value2) {
            addCriterion("EmplWorkTime between", value1, value2, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplworktimeNotBetween(Date value1, Date value2) {
            addCriterion("EmplWorkTime not between", value1, value2, "emplworktime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeIsNull() {
            addCriterion("EmplOffTime is null");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeIsNotNull() {
            addCriterion("EmplOffTime is not null");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeEqualTo(Date value) {
            addCriterion("EmplOffTime =", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeNotEqualTo(Date value) {
            addCriterion("EmplOffTime <>", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeGreaterThan(Date value) {
            addCriterion("EmplOffTime >", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EmplOffTime >=", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeLessThan(Date value) {
            addCriterion("EmplOffTime <", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeLessThanOrEqualTo(Date value) {
            addCriterion("EmplOffTime <=", value, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeIn(List<Date> values) {
            addCriterion("EmplOffTime in", values, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeNotIn(List<Date> values) {
            addCriterion("EmplOffTime not in", values, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeBetween(Date value1, Date value2) {
            addCriterion("EmplOffTime between", value1, value2, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andEmplofftimeNotBetween(Date value1, Date value2) {
            addCriterion("EmplOffTime not between", value1, value2, "emplofftime");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}